package org.distributed.transaction.core.annotion;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.distributed.transaction.core.enums.DTTransactionType;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TransactionType {

	/**
	 * 事务类型，默认proxy
	 */
	DTTransactionType type() default DTTransactionType.Proxy;
}
